import { useRoutes, Link } from 'react-router-dom'
import router from './router'

const App: React.FC = () => {
  const outlet = useRoutes(router)

  return (
    <div className='App'>
      {/* <Link to='/home'>Home</Link>|<Link to='/about'>About</Link>|<Link to='/user'>User</Link> */}
      {outlet}
    </div>
  )
}

export default App
